Formalizing Symbolic Decision Procedures for Regular Languages
نویسنده
چکیده
This thesis studies decision procedures for the equivalence of regular languages represented symbolically as regular expressions or logical formulas. Traditional decision procedures in this context rush to dispose of the concise symbolic representation by translating it into finite automata, which then are efficiently minimized and checked for structural equality. We develop procedures that avoid this explicit translation by working with the symbolic structures directly. This results in concise functional algorithms that are easy to reason about, even formally. Indeed, the presented decision procedures are specified and proved correct in the proof assistant Isabelle. The core idea, shared by all procedures under consideration, is the usage of a symbolic derivative operation that replaces the global transition table of the automaton. For regular expressions those are the increasingly popular Brzozowski derivatives and their cousins. For formulas, the development of such operations is the main theoretical contribution of this thesis. The main technical contribution is the formalization of a uniform framework for deciding equivalence of regular languages and the instantiation of this framework by various symbolic representations. Overall, this yields formally verified executable decision procedures for the equivalence of various kinds of regular expressions, Presburger arithmetic formulas, and formulas of monadic second-order logic on finite words under two different existing semantics (WS1S and M2L(Str)).
منابع مشابه
Symbolic Solving of Extended Regular Expression Inequalities Technical Report
This paper presents a new solution to the containment problem for extended regular expressions that extends basic regular expressions with intersection and complement operators and consider regular expressions on infinite alphabets based on potentially infinite character sets. Standard approaches deciding the containment do not take extended operators or character sets into account. The algorit...
متن کاملDecision Procedures for Composition and Equivalence of Symbolic Finite State Transducers
Finite automata model a wide array of applications in software engineering, from regular expressions to specification languages. Finite transducers are an extension of finite automata to model functions on lists of elements, which in turn have uses in fields as diverse as computational linguistics and model-based testing. Symbolic finite transducers are a further generalization of finite transd...
متن کاملOptimizing Schema Languages for XML: Numerical Constraints and Interleaving
The presence of a schema offers many advantages in processing, translating, querying, and storage of XML data. Basic decision problems like equivalence, inclusion, and non-emptiness of intersection of schemas form the basic building blocks for schema optimization and integration, and algorithms for static analysis of transformations. It is thereby paramount to establish the exact complexity of ...
متن کاملDecision Procedures for MSO on Words Based on Derivatives of Regular Expressions
Monadic second-order logic on finite words (MSO) is a decidable yet expressive logic into which many decision problems can be encoded. Since MSO formulas correspond to regular languages, equivalence of MSO formulas can be reduced to the equivalence of some regular structures (e.g. automata). We verify an executable decision procedure for MSO formulas that is not based on automata but on regular...
متن کاملVerified Decision Procedures for MSO on Words
Monadic second-order logic on finite words (MSO) is a decidable yet expressive logic into which many decision problems can be encoded. Since MSO formulas correspond to regular languages, equivalence of MSO formulas can be reduced to the equivalence of some regular structures (e.g. automata). This paper presents a verified functional decision procedure for MSO formulas that is not based on autom...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015